package com.wavehi.mapper.impl;

import com.wavehi.mapper.UserMapper;
import com.wavehi.pojo.User;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

/**
 * @Author WaveHi
 * @Date 22/10/2021 下午 9:32
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@Repository
public class UserMapperImpl implements UserMapper {
    @Override
    public Boolean update(User user) {
        return true;
    }

    @Override
    public User selectById(Long id) {
        return new User(1L, "Mary", "qwerty", new BigDecimal("12.43"));
    }
}
